package cn.sgjk.train.batch.controller;


import cn.sgjk.train.batch.Feign.BusinessFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {


    @Autowired
    private BusinessFeign businessService;
    @GetMapping("/Hello")
    public String Hello() {
        String hello = businessService.Hello();
        return hello;
    }
}

